{include file="pub_header.htm"}

{include file="pub_search.htm"}

<div class="layout_content">
  <div class="content_one_left">
    <div class="box_one_news">
      <div class="title">
        <h2>最新动态</h2>
        <span><a href="{$control_index}?act=channel&channel_id=2" title="更多最新动态信息" target="_blank">更多</a></span>
      </div>
      <div class="content">
        <ul>
        {return_content_list channel_id="12,13" limit="10" item=news_message}
        {foreach name=news_message from=$news_message item=item}
          <li class="ico_li_{$smarty.foreach.news_message.iteration}"><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.phrase|str_cut:0:26}</a></li>
        {/foreach}
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_one_center">
    <div class="box_one_headline">
      <div class="title"><span></span></div>
      <div class="content">
        {return_content_list channel_id="12,13" limit="1" prefix="26" item=news_topone}
        {foreach name=news_topone from=$news_topone item=item}
          <h2><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.subject|str_cut:0:50}</a></h2>
          <p>{$item.brief|str_cut:0:180}<a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">[详细]</a></p>
        {/foreach}
      </div>
      <div class="footer"><span></span></div>
    </div>
    <div class="box_one_newscall">
      <div class="lantern">
        {include file="pub_index_lantern.htm"}
      </div>
      <div class="article">
        <div id="tab_news">
          <ul>
            <li><a href="#tab_news_01">行业新闻</a></li>
            <li><a href="#tab_news_02">站长交流</a></li>
            <li><a href="#tab_news_03">下载中心</a></li>
            <li><a href="#tab_news_04">分类信息</a></li>
          </ul>
          <div id="tab_news_01">
            <ul>
            {return_content_list channel_id="12,13" limit="6" item=news_trade}
            {foreach name=news_trade from=$news_trade item=item}
              <li>
                <h4><a href="{$control_index}?act=channel&channel_id={$item.channel_id}" title="{$item.channel_name}" target="_blank">[{$item.channel_name}]</a></h4>
                <a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.phrase}" target="_blank">{$item.phrase|str_cut:0:"32-`$item.channel_name_len`"}</a>
              </li>
            {/foreach}
            </ul>
          </div>
          <div id="tab_news_02">
            <ul>
            {return_content_list channel_id="13" limit="6" item=news_empiric}
            {foreach name=news_empiric from=$news_empiric item=item}
              <li>
                <h4><a href="{$control_index}?act=channel&channel_id={$item.channel_id}" title="{$item.channel_name}" target="_blank">[{$item.channel_name}]</a></h4>
                <a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.phrase}" target="_blank">{$item.phrase|str_cut:0:"32-`$item.channel_name_len`"}</a>
              </li>
            {/foreach}
            </ul>
          </div>
          <div id="tab_news_03">
            <ul>
            {return_content_list channel_id="16" limit="6" item=download}
            {foreach name=download from=$download item=item}
              <li>
                <h4><a href="{$control_index}?act=channel&channel_id={$item.channel_id}" title="{$item.channel_name}" target="_blank">[{$item.channel_name}]</a></h4>
                <a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.phrase}" target="_blank">{$item.phrase|str_cut:0:"32-`$item.channel_name_len`"}</a>
              </li>
            {/foreach}
            </ul>
          </div>
          <div id="tab_news_04">
            <ul>
            {return_content_list channel_id="17,18" limit="6" item=class}
            {foreach name=class from=$class item=item}
              <li>
                <h4><a href="{$control_index}?act=channel&channel_id={$item.channel_id}" title="{$item.channel_name}" target="_blank">[{$item.channel_name}]</a></h4>
                <a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.phrase}" target="_blank">{$item.phrase|str_cut:0:"32-`$item.channel_name_len`"}</a>
              </li>
            {/foreach}
            </ul>
          </div>
        </div>
      </div>
    </div>
  </div>
  <div class="content_one_right">
    <div class="box_one_headdown">
      <div class="title">
        <h2>热门软件</h2>
        <span><a href="{$control_index}?act=channel&channel_id=11" title="更多最新动态信息" target="_blank">更多</a></span>
      </div>
      <div class="content">
        {return_content_list channel_id="16" limit="1" prefix="26" item=down_topone}
        {foreach name=down_topone from=$down_topone item=item}
        {if $item.content_id != ""}
          <ul>
            <li class="cover"><img src="{$dir_content_cover}/{$item.cover_dir}{$item.cover_filename}"  border="0" height="60" title="{$item.name}" /></li>
            <li class="subject"><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" target="_blank" title="{$item.brief}">{$item.phrase}</a></li>
            <li class="brief">{$item.brief}</li>
            <li class="download"><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" target="_blank" title="{$item.brief}"><img src="{$dir_images}/index_download.gif"  border="0" title="{$item.name}" /></a></li>
          </ul>
        {/if}
        {/foreach}
      </div>
      <div class="footer"><span></span></div>
    </div>
    <div class="box_one_khzs_right">
      {return_content_info scheduler_id="32" item=item}
      {if $item.content.if_turn == "1"}
      <a href="{$item.content.if_turn_url}" target="{if $item.content.if_turn_type == '1'}_self{else}_blank{/if}" title="{$item.brief}"><img src="{$dir_content_cover}/{$item.content.cover_dir}{$item.content.cover_filename}"  border="0" width="248" height="80" alt="{$item.content.brief}" title="{$item.content.brief}" /></a>
      {else}
      <img src="{$dir_content_cover}/{$item.content.cover_dir}{$item.content.cover_filename}"  border="0" width="248" height="80" alt="{$item.content.brief}" title="{$item.content.brief}" />
      {/if}
    </div>
  </div>
</div>
<div class="layout_content">
  <div class="content_two_left">
    <div class="box_two_khzs_left">
      {return_content_info scheduler_id="34" item=item}
      {if $item.content.if_turn == "1"}
      <a href="{$item.content.if_turn_url}" target="{if $item.content.if_turn_type == '1'}_self{else}_blank{/if}" title="{$item.brief}"><img src="{$dir_content_cover}/{$item.content.cover_dir}{$item.content.cover_filename}"  border="0" width="710" height="80" alt="{$item.content.brief}" title="{$item.content.brief}" /></a>
      {else}
      <img src="{$dir_content_cover}/{$item.content.cover_dir}{$item.content.cover_filename}"  border="0" width="710" height="80" alt="{$item.content.brief}" title="{$item.content.brief}" />
      {/if}
    </div>
  </div>
  <div class="content_two_right">
    <div class="box_two_khzs_right">
      {return_content_info scheduler_id="33" item=item}
      {if $item.content.if_turn == "1"}
      <a href="{$item.content.if_turn_url}" target="{if $item.content.if_turn_type == '1'}_self{else}_blank{/if}" title="{$item.brief}"><img src="{$dir_content_cover}/{$item.content.cover_dir}{$item.content.cover_filename}"  border="0" width="248" height="80" alt="{$item.content.brief}" title="{$item.content.brief}" /></a>
      {else}
      <img src="{$dir_content_cover}/{$item.content.cover_dir}{$item.content.cover_filename}"  border="0" width="248" height="80" alt="{$item.content.brief}" title="{$item.content.brief}" />
      {/if}
    </div>
  </div>
</div>
<div class="layout_content">
  <div class="content_three_left">
    <div class="box_three_rank">
      <div class="title">
        <h2>热门推荐</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
        {return_content_list channel_id="12,13,16,17,18" prefix="20" limit="8" item=hot}
        {foreach name=hot from=$hot item=item}
          <li><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.phrase|str_cut:0:26}</a></li>
        {/foreach}
        </ul>
      </div>
      <div class="middletitle">
        <h2>点击排行</h2>
        <span></span>
      </div>
      <div class="content">
        <ul>
        {return_content_list channel_id="12,13,16,17,18" click="1" limit="8" item=click}
        {foreach name=click from=$click item=item}
          <li><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.phrase|str_cut:0:26}</a></li>
        {/foreach}
        </ul>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
  <div class="content_three_right">
    <div class="box_three_area1">
      <div class="title">
        <div><h2>新闻资讯</h2></div>
        <span><a href="{$control_index}?act=channel&channel_id=2" title="更多最新动态信息" target="_blank">更多</a></span>
      </div>
      <div class="content">
        <div class="topone">
        {return_content_info channel_id="12,13" if_top='1' item=news_topone}
        {if $news_topone.content.content_id != ""}
          <div class="cover"><p><img src="{$dir_content_cover}/{$news_topone.content.cover_dir}{$news_topone.content.cover_filename}"  border="0" width="90" title="{$news_topone.content.subject}" /></p></div>
          <div class="subject"><a href="{$control_index}?act=content&scheduler_id={$news_topone.content.scheduler_id}" target="_self" title="{$news_topone.content.brief}">{$news_topone.content.subject}</a></div>
          <div class="brief">{$news_topone.content.brief|str_cut:0:100:'...'}<a href="{$control_index}?act=content&scheduler_id={$news_topone.content.scheduler_id}" target="_blank" title="{$news_topone.content.brief}">[详细]</a></div>
        {/if}
        </div>
        <div class="list">
          <ul>
          {return_content_list channel_id="12,13" except_scheduler_id=$news_topone.content.scheduler_id limit="3" item=news_list}
          {foreach name=news_list from=$news_list item=item}
            <li><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.subject|str_cut:0:50}</a></li>
          {/foreach}
          </ul>
        </div>
      </div>
      <div class="footer"><span></span></div>
    </div>
    <div class="box_three_area2">
      <div class="title">
        <div><h2>图片展示</h2></div>
        <span><a href="{$control_index}?act=channel&channel_id=3" title="更多最新动态信息" target="_blank">更多</a></span>
      </div>
      <div class="content">
        <div class="topone">
        {return_content_info channel_id="14" if_top='1' item=picture_topone}
        {if $picture_topone.content.content_id != ""}
          <div class="cover"><p><img src="{$dir_content_cover}/{$picture_topone.content.cover_dir}{$picture_topone.content.cover_filename}"  border="0" width="90" title="{$picture_topone.content.subject}" /></p></div>
          <div class="subject"><a href="{$control_index}?act=content&scheduler_id={$picture_topone.content.scheduler_id}" target="_self" title="{$picture_topone.content.brief}">{$picture_topone.content.subject}</a></div>
          <div class="brief">{$picture_topone.content.brief|str_cut:0:100:'...'}<a href="{$control_index}?act=content&scheduler_id={$picture_topone.content.scheduler_id}" target="_blank" title="{$picture_topone.content.brief}">[详细]</a></div>
        {/if}
        </div>
        <div class="list">
          <ul>
          {return_content_list channel_id="14" except_scheduler_id=$picture_topone.content.scheduler_id limit="3" item=picture_list}
          {foreach name=picture_list from=$picture_list item=item}
            <li><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.subject|str_cut:0:50}</a></li>
          {/foreach}
          </ul>
        </div>
      </div>
      <div class="footer"><span></span></div>
    </div>
    <div class="box_three_area3">
      <div class="title">
        <div><h2>下载中心</h2></div>
        <span><a href="{$control_index}?act=channel&channel_id=5" title="更多最新动态信息" target="_blank">更多</a></span>
      </div>
      <div class="content">
        <div class="topone">
        {return_content_info channel_id="16" if_top='1' item=download_topone}
        {if $download_topone.content.content_id != ""}
          <div class="cover"><p><img src="{$dir_content_cover}/{$download_topone.content.cover_dir}{$download_topone.content.cover_filename}"  border="0" width="90" title="{$download_topone.content.subject}" /></p></div>
          <div class="subject"><a href="{$control_index}?act=content&scheduler_id={$download_topone.content.scheduler_id}" target="_self" title="{$download_topone.content.brief}">{$download_topone.content.subject}</a></div>
          <div class="brief">{$download_topone.content.brief|str_cut:0:100:'...'}<a href="{$control_index}?act=content&scheduler_id={$download_topone.content.scheduler_id}" target="_blank" title="{$download_topone.content.brief}">[详细]</a></div>
        {/if}
        </div>
        <div class="list">
          <ul>
          {return_content_list channel_id="16" except_scheduler_id=$download_topone.content.scheduler_id limit="3" item=download_list}
          {foreach name=download_list from=$download_list item=item}
            <li><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.subject|str_cut:0:50}</a></li>
          {/foreach}
          </ul>
        </div>
      </div>
      <div class="footer"><span></span></div>
    </div>
    <div class="box_three_area4">
      <div class="title">
        <div><h2>分类信息</h2></div>
        <span><a href="{$control_index}?act=channel&channel_id=6" title="更多最新动态信息" target="_blank">更多</a></span>
      </div>
      <div class="content">
        <div class="topone">
        {return_content_info channel_id="17,18" if_top='1' item=class_topone}
        {if $class_topone.content.content_id != ""}
          <div class="cover"><p><img src="{$dir_content_cover}/{$class_topone.content.cover_dir}{$class_topone.content.cover_filename}"  border="0" width="90" title="{$class_topone.content.subject}" /></p></div>
          <div class="subject"><a href="{$control_index}?act=content&scheduler_id={$class_topone.content.scheduler_id}" target="_self" title="{$class_topone.content.brief}">{$class_topone.content.subject}</a></div>
          <div class="brief">{$class_topone.content.brief|str_cut:0:100:'...'}<a href="{$control_index}?act=content&scheduler_id={$class_topone.content.scheduler_id}" target="_blank" title="{$class_topone.content.brief}">[详细]</a></div>
        {/if}
        </div>
        <div class="list">
          <ul>
          {return_content_list channel_id="17,18" except_scheduler_id=$class_topone.content.scheduler_id limit="3" item=class_list}
          {foreach name=class_list from=$class_list item=item}
            <li><a href="{$control_index}?act=content&scheduler_id={$item.scheduler_id}" title="{$item.subject}" target="_blank">{$item.subject|str_cut:0:50}</a></li>
          {/foreach}
          </ul>
        </div>
      </div>
      <div class="footer"><span></span></div>
    </div>
  </div>
</div>

{include file="pub_footer.htm"}
